package com.sky.controller.user;

import com.sky.result.Result;
import com.sky.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 店铺相关
 */
@RestController(value = "userShopController")
@RequestMapping("/user/shop")
public class ShopController {

    @Autowired
    private ShopService shopService;
    /**
     * 查询用户端店铺状态
     * @return
     */
    @GetMapping("/status")
    public Result getStatus(){
        return shopService.getStatus();
    }
}